// pages/nav/nav.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    list: [
      ["pages/order-details/order-details", '订单详情']
      ["pages/pay-success/pay-success", '支付成功'],
      ["pages/account-bill/account-bill", '账户明细'],
      ["pages/pay-center/pay-center", '充值'],
      ["pages/index/index", '首页'],
      ["pages/pay/pay", '支付'],
      ["pages/setting/setting", '设置'],
      ["pages/sms-verification/sms-verification",'短信验证'],
      ["pages/payment-code/payment-code", '支付密码'],
      ["pages/invitation/invitation", '分享'],
      ["pages/detail/detail", '课程详情'],
      ["pages/order/order", '订单'],
      ["pages/creativity-test/creativity-test", '测试'],
      ["pages/user-info/user-info", '我的'],
      ["pages/courses/courses", '课程'],
      ["pages/logs/logs"]
    ]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})